Expression Translator (EXTRA) Dialog

An explanation of fields and properties

Expression Translator (Attribute Value Editor)

To access this dialog:

  • Run the EXTRA process from the command line by typing 'extra'. Specify an input file, output file and (optionally) retrieval criteria and click OK - the Expression Translator will be displayed.

  • A custom version of this dialog is displayed when editing named value expressions using the Model Attributes, Mining Blocks Attributes or Reserves Attributes managed tasks (Values panel).

    In this case, the dialog will be called Attribute Value Editor and contain additional functionality.

Field Details:

The following fields are available:

Expression: type, or build up interactively, a translation expression. When an expression has been added, it can be Tested or Cleared using the buttons described below.

Test: test the current expression's validity with this button. This information is shown in the Command control bar, and all syntax errors will be reported on a line-by-line and character-by-character basis.

Clear: clear the contents of the expression window with this button.

Input Fields: input fields associated with the specified input file are listed in this drop-down list. You can select and field and Add it to the Expression window.

Operators: select a conditional operator to construct your expression using one of the buttons displayed.

Functions and Procedures: there are four separate groups of syntax available for selection; numeric functions, string functions, procedures and record selection. These are explained further in the EXTRA full description Help topic.

In each case, select an item from the respective drop-down list and click Add to add it to the Expression window.

Named values: if you have launched the Attribute Value Editor from either the Model Attributes, Mining Blocks Attributes or Reserves Attributes managed tasks, you can select a previously-defined named Attribute Value here for use in your expression.

For example, if you have already created 3 named Attribute values:

Named value 1: Au Equiv - Phase 1 (calculated using (AU/Recovery)*100 for Phase 1)
Named value 2: Au Equiv - Phase 2 (calculated using (AU/Recovery)*100 for Phase 2)
Named value 3: Au Equiv - Phase 3 (calculated using (AU/Recovery)*100 for Phase 3)

Once the above named values exist, you could use the Attribute Value Editor to construct the following value expression to determine the average equivalent grade across all 3 phases:

([Au Equiv - Phase 1] + [Au Equiv - Phase 2] + [Au Equiv - Phase 3]) /3

Named constants: if you are performing model, mining block or reserves table attribution, the Attribute Value Editor will allow you to use any previously defined constants in your expressions. More...

Execute: process the expression translation on the selected input file, creating the defined output file (both of these were set using the EXTRA process's files, fields and parameters dialog). For more information on this dialog, see your online process help.

For more information on using the Expression translator, see your EXTRA full description help file.

  openbook.gif (910 bytes)   Related Topics

 

EXTRA EXTRA Railroad Diagram Attribute Constants COPYNRSORTXMGSORT